package beans;

import java.io.Serializable;
/**
 * 实体类，也就是Database数据JavaBean，与数据库中的tuser表对应。tuser表有几个字段，User类就有对应的成员变量。
 * 为了方便使用DBUtils框架，请保证tuser表的字段名与对应的User类的成员变量名一样（可不区分大小写）。
 * @author Steven Suo
 *
 */
@SuppressWarnings("serial")
public class User implements Serializable{
	private int id;
	private String userName;
	private String pwd;
	private String realName;
	private String email;
	private String address;
	private String cellphone;
	private String headPhoto;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCellphone() {
		return cellphone;
	}
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	public String getHeadPhoto() {
		return headPhoto;
	}
	public void setHeadPhoto(String headPhoto) {
		this.headPhoto = headPhoto;
	}
	
}
